package com.ias.agdis_r.terminalmanager.restful.task.vo;

import org.codehaus.jackson.map.annotate.JsonSerialize;

import java.util.List;

//TRPT
public class SubmitTaskProcessRequestVO {

    private String TNB;   //	任务号
    private String PID;   //上报的节点
    private String RMK;   //航班总结备注信息
    private String TST;  //S – 完成；C – 取消完成；默认为‘S’
    private String SDT;   //上报时间
    private String IFM;   //是否显示到任务的整体状态，Y –显示（开始、到位等）N –不显示（监控项）

    @JsonSerialize(include= JsonSerialize.Inclusion.NON_NULL)
    private List<TaskUser> members;//任务执行人，只有任务结束时才赋值

    public String getTNB() {
        return TNB;
    }

    public void setTNB(String tNB) {
        TNB = tNB;
    }

    public String getPID() {
        return PID;
    }

    public void setPID(String pID) {
        PID = pID;
    }

    public String getRMK() {
        return RMK;
    }

    public void setRMK(String rMK) {
        RMK = rMK;
    }

    public String getTST() {
        return TST;
    }

    public void setTST(String tST) {
        TST = tST;
    }

    public String getSDT() {
        return SDT;
    }

    public void setSDT(String sDT) {
        SDT = sDT;
    }

    public String getIFM() {
        return IFM;
    }

    public void setIFM(String iFM) {
        IFM = iFM;
    }

    public List<TaskUser> getMembers() {
        return members;
    }

    public void setMembers(List<TaskUser> members) {
        this.members = members;
    }

    public static class TaskUser{
        private  String usno;
        private String unam;

        public String getUsno() {
            return usno;
        }

        public void setUsno(String usno) {
            this.usno = usno;
        }

        public String getUnam() {
            return unam;
        }

        public void setUnam(String unam) {
            this.unam = unam;
        }
    }
}
